
#ifndef MYPUSHBUTTON_H
#define MYPUSHBUTTON_H


#include <QWidget>
#include<QPushButton>


class MyPushButton : public QPushButton
{
    Q_OBJECT
public:
    //    explicit MyPushButton(QWidget *parent = nullptr);

    MyPushButton(QString normalImage,QString pressImage = " ");

    QString normalImagePath;
    QString pressImagePath;

    void mousePressEvent(QMouseEvent*e);
    void mouseReleaseEvent(QMouseEvent* e);

signals:

};

#endif // MYPUSHBUTTON_H
